package com.face.server.service;

import com.face.server.entity.Warning;

import java.text.ParseException;
import java.util.List;

/**
 * @author cong
 * @date 2018/3/27
 */
public interface WarningService {
    List<Warning> getWarns();

    List<Warning> getPartWarns(String name,String begin,String end) throws ParseException;

    List<Warning> getWarnsByTime(String name, String time) throws ParseException;

}
